Cos

Note: This statement is named Cosine in the Add Statement dialog box.

Returns the cosine of a number.

Syntax

Cos(Number)

Arguments

Argument Description
Number Number to return the cosine for. To convert degrees to radians, multiply by pi/180. To convert radians to degrees, multiply by 180/pi.

Return value

Value Description
Value Cosine of the number.

Example

cosine = Cos(345)

PrintLn cosine